package com.zt.english.bean

import android.graphics.Color
import androidx.databinding.ObservableField
import okhttp3.internal.proxy.NullProxySelector.select

/**
 * 字幕bean
 */
class SubtitlesBean() {
    /**
     * 节点
     */
    var node: Int = 0

    /**
     * 开始时间
     */
    var start: Int = 0

    /**
     * 结束时间
     */
    var end: Int = 0

    /**
     * 中文翻译内容
     */
    var contentCh: String = ""

    /**
     * 英文翻译内容
     */
    var contentEn: String = ""

    /**
     * 当前字幕是否在读
     */
    var reading: ObservableField<Boolean> = ObservableField(false)

    val enShow: ObservableField<Boolean> = ObservableField(true)
    val chShow: ObservableField<Boolean> = ObservableField(true)

    override fun toString(): String {
        return "SubtitlesBean(node=$node, start=$start, end=$end, contentCh='$contentCh', contentEn='$contentEn')"
    }
}